package org.dreamwork.android.websocket;

import android.os.IBinder;

/**
 * Created by game on 2017/3/4
 */

public interface IWebSocketBinder<T> extends IBinder {
    enum MessageType {
        ASCII, Binary
    }

    MessageType getMessageType ();
    void send (T message);
    byte[] cast (T message);
    String asString (T message);
}